package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 动产抵押-基本信息
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mortgagebasiclist")
@ApiModel(value="MortgagebasiclistEntity对象", description="动产抵押-基本信息")
public class MortgagebasiclistEntity extends Model<MortgagebasiclistEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "统一信用代码")
    private String creditcode;

    @ApiModelProperty(value = "登记编号")
    @TableField("mabRegNo")
    private String mabregno;

    @ApiModelProperty(value = "登记日期")
    @TableField("mabRegDate")
    private String mabregdate;

    @ApiModelProperty(value = "登记机关")
    @TableField("mabRegOrg")
    private String mabregorg;

    @ApiModelProperty(value = "被担保债权数额(万元)")
    @TableField("mabGuarAmount")
    private String mabguaramount;

    @ApiModelProperty(value = "状态")
    @TableField("mabStatus")
    private String mabstatus;

    @ApiModelProperty(value = "抵押总数量")
    @TableField("mabAmount")
    private String mabamount;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
